import logging

from db.student_client import StudentClient


class BaseService(object):
  def __init__(self, user):
    self.user = user
    self.student_client = StudentClient()

  def getStudentIdForCurrentUser(self):
    return self.student_client.getStudentIdForUser(self.user)
